package com.woniu.apartment.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

import java.io.Serializable;

/**
 * 大学列对象 tb_university
 *
 * @author yy
 * @date 2023-04-03
 */
@ApiModel(value = "University", description = "大学列")
public class University implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 大学主键 */
    @ApiModelProperty("大学主键")
    private Long id;

    /** 大学中文名称 */
    @Excel(name = "大学中文名称")
    @ApiModelProperty("大学中文名称")
    private String universityCname;

    /** 大学英文名称 */
    @Excel(name = "大学英文名称")
    @ApiModelProperty("大学英文名称")
    private String universityEname;

    /** 大学所在城市id */
    @Excel(name = "大学所在城市id")
    @ApiModelProperty("大学所在城市id")
    private Long cityId;

    /** 城市唯一标识 */
    @Excel(name = "城市唯一标识")
    @ApiModelProperty("城市唯一标识")
    private String cityIdstr;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setUniversityCname(String universityCname)
    {
        this.universityCname = universityCname;
    }

    public String getUniversityCname()
    {
        return universityCname;
    }
    public void setUniversityEname(String universityEname)
    {
        this.universityEname = universityEname;
    }

    public String getUniversityEname()
    {
        return universityEname;
    }
    public void setCityId(Long cityId)
    {
        this.cityId = cityId;
    }

    public Long getCityId()
    {
        return cityId;
    }
    public void setCityIdstr(String cityIdstr)
    {
        this.cityIdstr = cityIdstr;
    }

    public String getCityIdstr()
    {
        return cityIdstr;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("universityCname", getUniversityCname())
            .append("universityEname", getUniversityEname())
            .append("cityId", getCityId())
            .append("cityIdstr", getCityIdstr())
            .toString();
    }
}
